<template>
	<!-- :style="{'padding-top':statusBarHeight+'px'}" -->
	<uni-nav-bar class="nav" @clickLeft="goBack()" :left-icon="hideLeftIcon ? '':'left'" :title="title"
		:background-color="background ? background : '#fff'" :color="titleColor ? titleColor : '#000'" :border="false"
		:statusBar="true" fixed>
	</uni-nav-bar>
</template>

<script>
	export default {
		components: {},
		data() {
			return {}
		},
		props: ["title", "background", "titleColor", "hideLeftIcon"],
		mounted() {
			this.getSystemInfo()
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.nav {
		width: 100%;
		z-index: 1000;
		top: 0;
	}
</style>
